package com.liwujie.common.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel(value = "订单确认信息")
public class OrderConfirmVO {

    @ApiModelProperty(value = "用户地址")
    private UserAddrVO userAddr;

    @ApiModelProperty(value = "店铺订单集合")
    private List<ShopOrderVO> shopOrders;

    @ApiModelProperty(value = "商品总金额(分)")
    private Long totalAmount;

    @ApiModelProperty(value = "运费(分)")
    private Long totalFreight;

    @ApiModelProperty(value = "优惠金额(分)")
    private Long discountAmount;

    @ApiModelProperty(value = "应付金额(分)")
    private Long finalAmount;

    @ApiModelProperty(value = "商品总数")
    private Integer totalCount;

    @ApiModelProperty(value = "配送类型 1:快递 2:自提")
    private Integer deliveryType;

    @ApiModelProperty(value = "支付方式 1:微信 2:支付宝 3:余额支付")
    private Integer paymentType;

    @ApiModelProperty(value = "期望配送时间")
    private Date expectDeliveryTime;
    @ApiModelProperty(value = "订单备注")
    private String remarks;

    @ApiModelProperty(value = "购物车ID集合")
    private List<Long> shopCartIds;

}
